def has_subseq(n, seq):
    """
    Complete has_subseq, a function which takes in a number n and a "sequence"
    of digits seq and returns whether n contains seq as a subsequence, which
    does not have to be consecutive.

    >>> has_subseq(123, 12)
    True
    >>> has_subseq(141, 11)
    True
    >>> has_subseq(144, 12)
    False
    >>> has_subseq(144, 1441)
    False
    >>> has_subseq(1343412, 134)
    True
    """
    if seq < 10 and (seq % 10 == n % 10):
        return True

    if seq < 10 and n < 10 and (seq % 10 != n % 10):
        return False

    if n < 10 and (n % 10 != seq % 10):
        return False

    if n % 10 == seq % 10:
        return has_subseq(n // 10,seq // 10)
    else:
        return has_subseq(n // 10,seq)


